package com.refuel.domain;

import com.refuel.enumeration.GoodsItemType;
import io.swagger.v3.oas.annotations.media.Schema;

/**
 * @author zhanghao
 * @description 商品项
 * @date 2024/5/10 09:10
 **/
@Schema(description = "商品子项定义")
public class GoodsItem {

    /**
     * 商品项名称
     */
    @Schema(description = "商品项名称", example = "玩偶")
    private String name;

    /**
     * 商品类型
     */
    @Schema(description = "商品类型", example = "GOODS/REFUEL_CARD/INTEGRAL/GIFT")
    private GoodsItemType type;

    /**
     * 商品含量
     */
    @Schema(description = "商品含量", example = "200")
    private String content;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public GoodsItemType getType() {
        return type;
    }

    public void setType(GoodsItemType type) {
        this.type = type;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
}
